
public class RunnalbeDemo implements Runnable{
    static int j=0;
	@Override
	public void run() {
	System.out.println("The thread: "+j+"is running!");		
	j++;
	System.out.println(this.toString());
	}
public static void main(String[]args){
	for(int j=0;j<10;j++){
	     new Thread(new RunnalbeDemo()).start();
	   }
    new Thread(new RunnalbeDemo()).start();
}
}
